package com.sogoodsoft.dao.account;

import java.util.List;

import org.springframework.stereotype.Component;

import com.sogoodsoft.dao.common.CommonHibernateDao;
import com.sogoodsoft.entity.account.Authority;

/**
 * 授权对象的泛型DAO.
 * 
 * @author calvin
 */
@Component
public class AuthorityDao extends CommonHibernateDao < Authority, Long > {
    public List < Authority > getAll() {
        return this.find("from Authority order by cate ");
    }
}
